package com.smsc.headend.task.engine.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smsc.headend.module.fwu.entity.FirmwareFileVersion;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * (接口定义)
 *
 * @author wjh
 * @date 2022/7/18 18:40.
 */
public interface FirmwareFileVersionMapper extends BaseMapper<FirmwareFileVersion> {

    @Select("select * from M_FIRMWARE_FILE_VERSION where FW_FILE_ID=#{fwFileId} AND FW_TYPE_ID=#{fwTyId}")
    FirmwareFileVersion selectByFwFileIdAndFwTypeId(@Param("fwFileId") Long fwFileId,@Param("fwTyId") Long fwTyId);
}
